home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Programming / Python-1.4 / Source / Amiga / Python_netlib / dummy.c < prev    next >
C/C++ Source or Header  |  1994-09-29  |  539b  |  22 lines

  1. RCS_ID_C="$Id: dummy.c,v 4.1 1994/09/29 23:09:02 jraja Exp $";
  2. /*
  3.  *      dummy.c - unimplemented netdb functions 
  4.  *
  5.  *      Copyright © 1994 AmiTCP/IP Group, 
  6.  *                       Network Solutions Development Inc.
  7.  *                       All rights reserved.
  8.  */
  9.  
  10. #include <netdb.h>
  11. #if !__SASC
  12. #define NULL ((void *) 0)
  13. #endif
  14. struct hostent  *gethostent(void)
  15. { return NULL; }
  16. struct netent  *getnetent(void)
  17. { return NULL; }
  18. struct servent  *getservent(void)
  19. { return NULL; }
  20. struct protoent *getprotoent(void)
  21. { return NULL; }
  22.